
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://vnexpress.net/Service/Forex_Content.js" type="text/javascript"></script>
<script src="http://vnexpress.net/Service/Gold_Content.js" type="text/javascript"></script>
</head>

<body>
	<div id="wrapper">
		<div class="accordionButton">Giá vàng</div>
		<div class="accordionContent">
			<table width="100%" height="42" border="1" cellpadding="0" cellspacing="0">   	    
			<tr>
			<td width="43" align="center" style="color:#FFFFFF;" bgcolor="red">Vàng</td>
				
					<td width="64" align="center" style="color:#FFFFFF;" bgcolor="red">Mua vào</td>
				
					<td width="64" align="center" style="color:#FFFFFF;" bgcolor="red"> Bán ra</td>
			 <?php
			/*if($_GET['lang']=='en'){
					echo('<td width="43" align="center" style="color:#FFFFFF;" bgcolor="red">Gold</td>
				
					<td width="64" align="center" style="color:#FFFFFF;" bgcolor="red">Buy</td>
				
					<td width="64" align="center" style="color:#FFFFFF;" bgcolor="red">Sold</td>')
				}
				else{
					echo('<td width="43" align="center" style="color:#FFFFFF;" bgcolor="red">Vàng</td>
				
					<td width="64" align="center" style="color:#FFFFFF;" bgcolor="red">Mua vào</td>
				
					<td width="64" align="center" style="color:#FFFFFF;" bgcolor="red"> Bán ra</td>')
				}*/				
			?> 
			  </tr>
			
			  <tr>
			
				<td align="center">SJC</td>
			
				<td align="right"><script language="javascript" type="text/javascript">document.write(vGoldSbjBuy );</script> VNĐ</td>
			
				<td align="right"><script language="javascript" type="text/javascript">document.write(vGoldSjcSell);</script> VNĐ</td>
			
			  </tr>
			
			  <tr>
			
				<td align="center">SBJ</td>
			
				<td align="right"><script language="javascript" type="text/javascript">document.write(vGoldSbjBuy);</script> VNĐ</td>
			
				<td align="right"><script language="javascript" type="text/javascript">document.write(vGoldSbjSell);</script> VNĐ
				</td>			
			  </tr>			
			</table>
					
		</div>
		<div class="accordionButton">Ngoại tệ</div>
		<div class="accordionContent">
			<table width="100%" border="1" cellpadding="0" cellspacing="0">

            	  <tr>
				<?php 
					if($_GET['lang']=='en'){
						echo('<td width="43" align="center" style="color:#FFFFFF;" bgcolor="red" >Type</td>
            	    			<td width="76" align="center" style="color:#FFFFFF;" bgcolor="red">Rate</td>');						
					}
					else{
						echo('<td width="43" align="center" style="color:#FFFFFF;" bgcolor="red">Loại</td>
            	    		<td width="76" align="center" style="color:#FFFFFF;" bgcolor="red">Tỷ Giá</td>');
					}				            	    
     			?>
          	    </tr>
				<?php for($i=0;$i<=10;$i++)
{
	?>
            	  <tr>

            	    <td align="center"><script language="javascript"  type="text/javascript">document.write(vForexs[<?php print $i?>]);</script></td>

            	    <td align="right"><script language="javascript" type="text/javascript">document.write(vCosts[<?php print $i?>]);</script> VNÐ</td>

          	    </tr>
       <?php
}
	   ?>
   	      </table>
		</div>
	</div>
</body>
</html>
